package jasperreport;

import java.util.ArrayList;
import java.util.List;

public class Chart {

	public String name;
	public String serieas;
	public int count;
	
	public static List<Chart> get() {
		
		List<Chart> student = new ArrayList<Chart>();
		for(int i = 1; i < 4; i++){
			
			Chart stu = new Chart("name:" + i,i, "label:" + i);
			student.add(stu);
		}
		return student;
	}
	
	public Chart() {}

	public Chart(String name, int count, String label) {
		super();
		this.name = name;
		this.count = count;
		this.serieas = label;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getSerieas() {
		return serieas;
	}

	public void setSerieas(String serieas) {
		this.serieas = serieas;
	}
	
	
}
